<!DOCTYPE html>
<html language="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
	content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>头部</title>
<link rel="stylesheet" href="css/blog.css" />
<link rel="stylesheet" href="css/bootstrap.min.css" />
<script type="text/javascript" src="js/jquery/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/bootstrap/bootstrap.min.js"></script>
<script type="text/javascript" src="js/angularJS/angular.min.js"></script>
<script type="text/javascript" src="js/base.js"></script>
<script type="text/javascript" src="js/service/navigationService.js"></script>
<script type="text/javascript"
	src="js/controller/navigationController.js"></script>
</head>
<body ng-app="blog" ng-controller="navigationController">
	<div class="container">
		<div class="row">
			<img class="img-polaroid" src="img/head.png" />
		</div>
		<div class="row">
			<!--导航栏-->
			<div class="row">
				<div class="span12">
					<ul class="nav nav-pills">
						<li role="presentation" id="l1"><a href="index.html"
							target="_top"> <font size="3">首页</font>
						</a></li>
						
						<li role="presentation" id="l3"><a
							href="javascript:void(0)" target="_blank"> <font
								size="3">干货资源下载</font>
						</a></li>
						<li role="presentation" id="l4"><a href="code.html"
							target="_blank" onclick="changeShow()"> <font size="3">本网站源码下载</font>
						</a></li>
						<li>
							<div class="input-group"
								style="margin-left: 249px;margin-top:-9px;">

								<input style="margin-top: 10px" id="mySearch" name="searchValue" type="text" class="form-control"
									placeholder="请输入想找的内容"> <span class="input-group-btn">
									<button type="button" onclick="search()" class="btn btn-info">搜索</button>
								</span>


							</div> <!-- /input-group -->
						</li>
					</ul>
				</div>

			</div>
		</div>
	</div>
	
</body>
<script type="text/javascript">
	function search(){
		var searchValue = $("#mySearch").val();
		if(searchValue==null||searchValue.trim()==''){
			alert("搜索内容不能为空");
			return;
		}
		
		window.open("index.html#?searchValue="+searchValue);
		
	}
</script>
</html>